﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NWN.GDY.Service.Entity
{
    public class Seat : ICloneable
    {
        //是否禁用
        public bool Disabled { set; get; }
        //坐置编号
        public int SeatID { set; get; }
        //占用人
        public Player OccupiedPlayer { set;get; }

        #region ICloneable 成員
        public object Clone()
        {
            return new Seat() { Disabled = this.Disabled, SeatID = this.SeatID, OccupiedPlayer = (this.OccupiedPlayer.Clone() as Player) };
        }
        #endregion

    }
}
